package com.mtsmda;

import java.util.Date;

public class Person {

	private Integer idPerson;
	private String lastNamePerson;
	private String firstNamePerson;
	private Date dateOfBirth;
	private Character gender;

	public Person() {
		super();
	}

	public Person(Integer idPerson, String lastNamePerson,
			String firstNamePerson, Date dateOfBirth, Character gender) {
		this();
		setDateOfBirth(dateOfBirth);
		setFirstNamePerson(firstNamePerson);
		setGender(gender);
		setIdPerson(idPerson);
		setLastNamePerson(lastNamePerson);
	}

	public Integer getIdPerson() {
		return idPerson;
	}

	public void setIdPerson(Integer idPerson) {
		this.idPerson = idPerson;
	}

	public String getLastNamePerson() {
		return lastNamePerson;
	}

	public void setLastNamePerson(String lastNamePerson) {
		this.lastNamePerson = lastNamePerson;
	}

	public String getFirstNamePerson() {
		return firstNamePerson;
	}

	public void setFirstNamePerson(String firstNamePerson) {
		this.firstNamePerson = firstNamePerson;
	}

	public Date getDateOfBirth() {
		return dateOfBirth;
	}

	public void setDateOfBirth(Date dateOfBirth) {
		this.dateOfBirth = dateOfBirth;
	}

	public Character getGender() {
		return gender;
	}

	public void setGender(Character gender) {
		this.gender = gender;
	}

	@Override
	public String toString() {
		return "Person [idPerson=" + idPerson + ", lastNamePerson="
				+ lastNamePerson + ", firstNamePerson=" + firstNamePerson
				+ ", dateOfBirth=" + dateOfBirth + ", gender=" + gender + "]";
	}

}